Early Preview
This is currently very much a preview. Please feel free to try things out,
but don't be upset if anything is not yet working. Feedback is welcome over on our
GitHub Dicussions page.
interface Microsoft.​Extensions.​Options.​IValidateOptions<​TOptions>
Assembly: Microsoft.Extensions.Options
Validates options.
Methods
Validate​(string name,
TOptions options)
Validates a specified named options instance (or all if <paramref name="name" /> is <see langword="null" /> ).
Returns The <see cref="T:Microsoft.Extensions.Options.ValidateOptionsResult" /> result.
name
The name of the options instance being validated.
options
The options instance.